package com.niiwoo.civet.user.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Created by huangmin on 2017/12/27.
 */
@AllArgsConstructor
@Getter
public enum FeedBackSaveEunm {


    UNKNOWN((byte)0, "未处理"),
    PROCESSED((byte)1, "已处理"),
    NO_TREATMENT((byte)2, "不处理");

    private Byte value;
    private String desc;

    public static FeedBackSaveEunm enumOf(byte value) {
        for (FeedBackSaveEunm identity : values()) {
            if (identity.value == value) {
                return identity;
            }
        }
        return null;
    }

}
